<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>PrinterVectorOutput</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">PrinterVectorOutput()</font></b></p>
<p><b>语法</b></p><blockquote>

VectorOutputID = <font color="#3A3966"><b>PrinterVectorOutput</b></font>([Unit])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns the OutputID of the current printer to be used with the <a href="../vectordrawing/startvectordrawing.html">StartVectorDrawing()</a> function. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>单位 (可选)</i></td>
<td width="90%"> 
指定用于在绘图输出的测量距离的单位。The default unit for printer output is <font color="#924B72">#PB_Unit_Point</font>. 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Unit_Pixel</font>     : Values are measured in pixels (or dots in case of a printer)
  <font color="#924B72">#PB_Unit_Point</font>     : Values are measured in points (1/72 inch)
  <font color="#924B72">#PB_Unit_Inch</font>      : Values are measured in inches
  <font color="#924B72">#PB_Unit_Millimeter</font>: Values are measured in millimeters
</font></pre>

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



The OutputID of the current printer to be used with the <a href="../vectordrawing/startvectordrawing.html">StartVectorDrawing()</a> function. 

 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#3A3966">  StartVectorDrawing</font>(<font color="#3A3966">PrinterOutput</font>(<font color="#924B72">#PB_Unit_Point</font>))
    <font color="#3A3966">; do some drawing stuff here...</font>
<font color="#3A3966">  StopVectorDrawing</font>()
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="../vectordrawing/startvectordrawing.html">StartVectorDrawing()</a>, <a href="printeroutput.html">PrinterOutput()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=printerpagewidth.html>PrinterPageWidth()</a> - <a href="index.html">Printer Index</a> - <a href="startprinting.html">StartPrinting()</a> -&gt;<br><br>

</body></html>